package com.car.dal.dao.msg;

import com.car.bean.GridObj;
import com.car.bean.OrderObj;
import com.car.bean.PageObj;
import com.car.dal.dao.ibatis.IbatisCommonDao;
import com.car.dal.object.TgMsg;

public class TgMsgDaoImpl extends IbatisCommonDao<TgMsg, Long> implements TgMsgDao {

	public GridObj GetList(TgMsg msg, PageObj pageObj) {
		OrderObj order = new OrderObj();
		order.setDir("desc");
		order.setSort("id");
		return super.findByPage(msg, pageObj, order);
	}

	@Override
	public GridObj GetList(TgMsgDao msg, PageObj pageObj) {
		// TODO Auto-generated method stub
		return null;
	}
}